<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>课堂点名系统</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>课堂随机点名系统</h1>
        <div class="input-group">
            <textarea id="nameList" placeholder="请输入学生姓名，每个姓名单独一行"></textarea>
        </div>
        <div class="controls">
            <button id="startBtn" onclick="startRoll()">开始滚动</button>
            <button id="stopBtn" onclick="stopRoll()" disabled>停止点名</button>
        </div>
        <div id="displayArea"></div>
    </div>
    <script src="script.js"></script>
</body>
</html>
